import { baseUrl } from "./baseUrl";

const base = {
    fileUpload: baseUrl + "/public-file-system/fs/file/upload", //文件上传
    getFolderId: baseUrl + "/public-file-system/fs/file/addFolder", //添加文件夹

    editSiteInfo: baseUrl + "/website-management-backend/site/jhSiteInfo/edit", //编辑站点信息
    getSiteList: baseUrl + "/website-management-backend/site/jhSiteInfo/list", //获取站点列表
    postSiteList: baseUrl + "/website-management-backend/site/jhSiteInfo/queryById", //通过id获取站点
    addSite: baseUrl + "/website-management-backend/site/jhSiteInfo/add", //添加站点
    delSite: baseUrl + "/website-management-backend/site/jhSiteInfo/delete", //删除站点

    getSubpage: baseUrl + "/website-management-backend/site/jhSiteInfoDetail/list", //获取站点子页面列表
    getSubpageInfo: baseUrl + "/website-management-backend/site/jhSiteInfoDetail/queryById", //通过id获取子页面信息
    addSubpage: baseUrl + "/website-management-backend/site/jhSiteInfoDetail/add", //添加站点子页面
    delSubpage: baseUrl + "/website-management-backend/site/jhSiteInfoDetail/delete", //删除站点子页面
    editSubpage: baseUrl + "/website-management-backend/site/jhSiteInfoDetail/edit", //编辑站点子页面

    updateOnlineState: baseUrl + "/website-management-backend/site/jhSiteInfo/updateOnlineState", //更新站点上线状态
    getArticleList: baseUrl + "/website-management-backend/article/queryArticlePageList", //获取文章列表
    getArticleCategoryList :baseUrl + "/website-management-backend/subject/category/listClass", //获取文章分类列表
    saveCategory :baseUrl + "/website-management-backend/subject/category/add", //创建文章分类
    deleteCategory:baseUrl + "/website-management-backend/subject/category/delClass", //删除文章分类
    editCategory:baseUrl + "/website-management-backend/subject/category/edit",//编辑文章分类
    deleteArticle:baseUrl + "/website-management-backend/article/deleteArticle",//删除文章
    viewArticleDetail:baseUrl + "/website-management-backend/article/viewArticleDetail",//点击html链接查看文章详情
    addArticle:baseUrl + "/website-management-backend/article/addArticle",//添加文章
    updateOnlineStatus:baseUrl + "/website-management-backend/article/updateOnlineStatus",//文章上下线
    editArticle:baseUrl + "/website-management-backend/article/editArticle",//编辑文章
    generateArticle:baseUrl + "/website-management-backend/article/generateArticle",//生成文章(html)->用于预览

    getRecycleBinList:baseUrl+"/website-management-backend/fs/jhFsRecycle/queryRecycleList",//获取回收站列表1

    getMessageList: baseUrl + "/website-management-backend/site/jhSiteLeaveword/getConsultReply", //获取留言列表
    deleteMessage: baseUrl + "/website-management-backend/site/jhSiteLeaveword/delConsultReply", //添加留言
}

export default base